// This code is generated automatically by Exentials SnwConnector
namespace Exentials.Snw.Structures
{
    using System;
    using System.Collections.Generic;
    using System.Text;
    using Exentials.Snw;
    using Exentials.Snw.SnwConnector;
    using Exentials.Snw.Functions;
    using Exentials.Snw.Structures;
    
    
    [Exentials.Snw.SnwConnector.SnwStructureAttribute("BAPIMEPOHEADER")]
    public sealed class Bapimepoheader : Exentials.Snw.SnwConnector.SnwStructure
    {
        
        public Bapimepoheader(Exentials.Snw.SnwConnector.SnwStructure structure) : 
                base(structure)
        {
        }
        
        public string PoNumber
        {
            get
            {
                return this.GetParameter<string>("PO_NUMBER", 10, 0);
            }
            set
            {
                this.SetParameter("PO_NUMBER", value, 10, 0);
            }
        }
        
        public string CompCode
        {
            get
            {
                return this.GetParameter<string>("COMP_CODE", 4, 0);
            }
            set
            {
                this.SetParameter("COMP_CODE", value, 4, 0);
            }
        }
        
        public string DocType
        {
            get
            {
                return this.GetParameter<string>("DOC_TYPE", 4, 0);
            }
            set
            {
                this.SetParameter("DOC_TYPE", value, 4, 0);
            }
        }
        
        public string DeleteInd
        {
            get
            {
                return this.GetParameter<string>("DELETE_IND", 1, 0);
            }
            set
            {
                this.SetParameter("DELETE_IND", value, 1, 0);
            }
        }
        
        public string Status
        {
            get
            {
                return this.GetParameter<string>("STATUS", 1, 0);
            }
            set
            {
                this.SetParameter("STATUS", value, 1, 0);
            }
        }
        
        public Exentials.Snw.SnwConnector.SnwDate CreatDate
        {
            get
            {
                return this.GetParameter<Exentials.Snw.SnwConnector.SnwDate>("CREAT_DATE", 8, 0);
            }
            set
            {
                this.SetParameter("CREAT_DATE", value, 8, 0);
            }
        }
        
        public string CreatedBy
        {
            get
            {
                return this.GetParameter<string>("CREATED_BY", 12, 0);
            }
            set
            {
                this.SetParameter("CREATED_BY", value, 12, 0);
            }
        }
        
        public Exentials.Snw.SnwConnector.SnwNumeric ItemIntvl
        {
            get
            {
                return this.GetParameter<Exentials.Snw.SnwConnector.SnwNumeric>("ITEM_INTVL", 5, 0);
            }
            set
            {
                this.SetParameter("ITEM_INTVL", value, 5, 0);
            }
        }
        
        public string Vendor
        {
            get
            {
                return this.GetParameter<string>("VENDOR", 10, 0);
            }
            set
            {
                this.SetParameter("VENDOR", value, 10, 0);
            }
        }
        
        public string Langu
        {
            get
            {
                return this.GetParameter<string>("LANGU", 1, 0);
            }
            set
            {
                this.SetParameter("LANGU", value, 1, 0);
            }
        }
        
        public string LanguIso
        {
            get
            {
                return this.GetParameter<string>("LANGU_ISO", 2, 0);
            }
            set
            {
                this.SetParameter("LANGU_ISO", value, 2, 0);
            }
        }
        
        public string Pmnttrms
        {
            get
            {
                return this.GetParameter<string>("PMNTTRMS", 4, 0);
            }
            set
            {
                this.SetParameter("PMNTTRMS", value, 4, 0);
            }
        }
        
        public double Dscnt1To
        {
            get
            {
                return this.GetParameter<double>("DSCNT1_TO", 2, 0);
            }
            set
            {
                this.SetParameter("DSCNT1_TO", value, 2, 0);
            }
        }
        
        public double Dscnt2To
        {
            get
            {
                return this.GetParameter<double>("DSCNT2_TO", 2, 0);
            }
            set
            {
                this.SetParameter("DSCNT2_TO", value, 2, 0);
            }
        }
        
        public double Dscnt3To
        {
            get
            {
                return this.GetParameter<double>("DSCNT3_TO", 2, 0);
            }
            set
            {
                this.SetParameter("DSCNT3_TO", value, 2, 0);
            }
        }
        
        public double DsctPct1
        {
            get
            {
                return this.GetParameter<double>("DSCT_PCT1", 3, 3);
            }
            set
            {
                this.SetParameter("DSCT_PCT1", value, 3, 3);
            }
        }
        
        public double DsctPct2
        {
            get
            {
                return this.GetParameter<double>("DSCT_PCT2", 3, 3);
            }
            set
            {
                this.SetParameter("DSCT_PCT2", value, 3, 3);
            }
        }
        
        public string PurchOrg
        {
            get
            {
                return this.GetParameter<string>("PURCH_ORG", 4, 0);
            }
            set
            {
                this.SetParameter("PURCH_ORG", value, 4, 0);
            }
        }
        
        public string PurGroup
        {
            get
            {
                return this.GetParameter<string>("PUR_GROUP", 3, 0);
            }
            set
            {
                this.SetParameter("PUR_GROUP", value, 3, 0);
            }
        }
        
        public string Currency
        {
            get
            {
                return this.GetParameter<string>("CURRENCY", 5, 0);
            }
            set
            {
                this.SetParameter("CURRENCY", value, 5, 0);
            }
        }
        
        public string CurrencyIso
        {
            get
            {
                return this.GetParameter<string>("CURRENCY_ISO", 3, 0);
            }
            set
            {
                this.SetParameter("CURRENCY_ISO", value, 3, 0);
            }
        }
        
        public double ExchRate
        {
            get
            {
                return this.GetParameter<double>("EXCH_RATE", 5, 5);
            }
            set
            {
                this.SetParameter("EXCH_RATE", value, 5, 5);
            }
        }
        
        public string ExRateFx
        {
            get
            {
                return this.GetParameter<string>("EX_RATE_FX", 1, 0);
            }
            set
            {
                this.SetParameter("EX_RATE_FX", value, 1, 0);
            }
        }
        
        public Exentials.Snw.SnwConnector.SnwDate DocDate
        {
            get
            {
                return this.GetParameter<Exentials.Snw.SnwConnector.SnwDate>("DOC_DATE", 8, 0);
            }
            set
            {
                this.SetParameter("DOC_DATE", value, 8, 0);
            }
        }
        
        public Exentials.Snw.SnwConnector.SnwDate VperStart
        {
            get
            {
                return this.GetParameter<Exentials.Snw.SnwConnector.SnwDate>("VPER_START", 8, 0);
            }
            set
            {
                this.SetParameter("VPER_START", value, 8, 0);
            }
        }
        
        public Exentials.Snw.SnwConnector.SnwDate VperEnd
        {
            get
            {
                return this.GetParameter<Exentials.Snw.SnwConnector.SnwDate>("VPER_END", 8, 0);
            }
            set
            {
                this.SetParameter("VPER_END", value, 8, 0);
            }
        }
        
        public Exentials.Snw.SnwConnector.SnwDate Warranty
        {
            get
            {
                return this.GetParameter<Exentials.Snw.SnwConnector.SnwDate>("WARRANTY", 8, 0);
            }
            set
            {
                this.SetParameter("WARRANTY", value, 8, 0);
            }
        }
        
        public string Quotation
        {
            get
            {
                return this.GetParameter<string>("QUOTATION", 10, 0);
            }
            set
            {
                this.SetParameter("QUOTATION", value, 10, 0);
            }
        }
        
        public Exentials.Snw.SnwConnector.SnwDate QuotDate
        {
            get
            {
                return this.GetParameter<Exentials.Snw.SnwConnector.SnwDate>("QUOT_DATE", 8, 0);
            }
            set
            {
                this.SetParameter("QUOT_DATE", value, 8, 0);
            }
        }
        
        public string Ref1
        {
            get
            {
                return this.GetParameter<string>("REF_1", 12, 0);
            }
            set
            {
                this.SetParameter("REF_1", value, 12, 0);
            }
        }
        
        public string SalesPers
        {
            get
            {
                return this.GetParameter<string>("SALES_PERS", 30, 0);
            }
            set
            {
                this.SetParameter("SALES_PERS", value, 30, 0);
            }
        }
        
        public string Telephone
        {
            get
            {
                return this.GetParameter<string>("TELEPHONE", 16, 0);
            }
            set
            {
                this.SetParameter("TELEPHONE", value, 16, 0);
            }
        }
        
        public string SupplVend
        {
            get
            {
                return this.GetParameter<string>("SUPPL_VEND", 10, 0);
            }
            set
            {
                this.SetParameter("SUPPL_VEND", value, 10, 0);
            }
        }
        
        public string Customer
        {
            get
            {
                return this.GetParameter<string>("CUSTOMER", 10, 0);
            }
            set
            {
                this.SetParameter("CUSTOMER", value, 10, 0);
            }
        }
        
        public string Agreement
        {
            get
            {
                return this.GetParameter<string>("AGREEMENT", 10, 0);
            }
            set
            {
                this.SetParameter("AGREEMENT", value, 10, 0);
            }
        }
        
        public string GrMessage
        {
            get
            {
                return this.GetParameter<string>("GR_MESSAGE", 1, 0);
            }
            set
            {
                this.SetParameter("GR_MESSAGE", value, 1, 0);
            }
        }
        
        public string SupplPlnt
        {
            get
            {
                return this.GetParameter<string>("SUPPL_PLNT", 4, 0);
            }
            set
            {
                this.SetParameter("SUPPL_PLNT", value, 4, 0);
            }
        }
        
        public string Incoterms1
        {
            get
            {
                return this.GetParameter<string>("INCOTERMS1", 3, 0);
            }
            set
            {
                this.SetParameter("INCOTERMS1", value, 3, 0);
            }
        }
        
        public string Incoterms2
        {
            get
            {
                return this.GetParameter<string>("INCOTERMS2", 28, 0);
            }
            set
            {
                this.SetParameter("INCOTERMS2", value, 28, 0);
            }
        }
        
        public string CollectNo
        {
            get
            {
                return this.GetParameter<string>("COLLECT_NO", 10, 0);
            }
            set
            {
                this.SetParameter("COLLECT_NO", value, 10, 0);
            }
        }
        
        public string DiffInv
        {
            get
            {
                return this.GetParameter<string>("DIFF_INV", 10, 0);
            }
            set
            {
                this.SetParameter("DIFF_INV", value, 10, 0);
            }
        }
        
        public string OurRef
        {
            get
            {
                return this.GetParameter<string>("OUR_REF", 12, 0);
            }
            set
            {
                this.SetParameter("OUR_REF", value, 12, 0);
            }
        }
        
        public string Logsystem
        {
            get
            {
                return this.GetParameter<string>("LOGSYSTEM", 10, 0);
            }
            set
            {
                this.SetParameter("LOGSYSTEM", value, 10, 0);
            }
        }
        
        public Exentials.Snw.SnwConnector.SnwNumeric Subitemint
        {
            get
            {
                return this.GetParameter<Exentials.Snw.SnwConnector.SnwNumeric>("SUBITEMINT", 5, 0);
            }
            set
            {
                this.SetParameter("SUBITEMINT", value, 5, 0);
            }
        }
        
        public string PoRelInd
        {
            get
            {
                return this.GetParameter<string>("PO_REL_IND", 1, 0);
            }
            set
            {
                this.SetParameter("PO_REL_IND", value, 1, 0);
            }
        }
        
        public string RelStatus
        {
            get
            {
                return this.GetParameter<string>("REL_STATUS", 8, 0);
            }
            set
            {
                this.SetParameter("REL_STATUS", value, 8, 0);
            }
        }
        
        public string VatCntry
        {
            get
            {
                return this.GetParameter<string>("VAT_CNTRY", 3, 0);
            }
            set
            {
                this.SetParameter("VAT_CNTRY", value, 3, 0);
            }
        }
        
        public string VatCntryIso
        {
            get
            {
                return this.GetParameter<string>("VAT_CNTRY_ISO", 2, 0);
            }
            set
            {
                this.SetParameter("VAT_CNTRY_ISO", value, 2, 0);
            }
        }
        
        public Exentials.Snw.SnwConnector.SnwNumeric ReasonCancel
        {
            get
            {
                return this.GetParameter<Exentials.Snw.SnwConnector.SnwNumeric>("REASON_CANCEL", 2, 0);
            }
            set
            {
                this.SetParameter("REASON_CANCEL", value, 2, 0);
            }
        }
        
        public string ReasonCode
        {
            get
            {
                return this.GetParameter<string>("REASON_CODE", 4, 0);
            }
            set
            {
                this.SetParameter("REASON_CODE", value, 4, 0);
            }
        }
    }
}
